package com.fick.hibernate.model;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * Admin entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Admin implements java.io.Serializable {

	// Fields

	private Integer adminId;

	private String adminName;

	private byte[] adminPass;

	private String fullName;

	private String question;

	private String answer;

	private String ip;

	private Integer enterNum;

	private Date enterDate;

	private String adminSup;
	
	private String isAss;
	
	private String seeprice;
	
	private String seemage;
	
	private String seecandi;
	
	
	private String unit;
	private Integer userOrder;
	public Integer  getUserOrder() {
		return userOrder;
	}

	public void setUserOrder(Integer userOrder) {
		this.userOrder = userOrder;
	}

	private Role role;
	private Set news;
	private Set vods;

	// Constructors

	/** default constructor */
	public Admin() {
	}

	/** full constructor */
	public Admin(String adminName, byte[] adminPass, String fullName, String question, String answer, String ip,
			Integer enterNum, Date enterDate, Integer ifSuper, String adminSup) {
		this.adminName = adminName;
		this.adminPass = adminPass;
		this.fullName = fullName;
		this.question = question;
		this.answer = answer;
		this.ip = ip;
		this.enterNum = enterNum;
		this.enterDate = enterDate;
		this.adminSup = adminSup;
	}

	// Property accessors

	public Integer getAdminId() {
		return this.adminId;
	}

	public void setAdminId(Integer adminId) {
		this.adminId = adminId;
	}

	public String getAdminName() {
		return this.adminName;
	}

	public void setAdminName(String adminName) {
		this.adminName = adminName;
	}

	public byte[] getAdminPass() {
		return this.adminPass;
	}

	public void setAdminPass(byte[] adminPass) {
		this.adminPass = adminPass;
	}

	public String getFullName() {
		return this.fullName;
	}

	public void setFullName(String fullName) {
		this.fullName = fullName;
	}

	public String getQuestion() {
		return this.question;
	}

	public void setQuestion(String question) {
		this.question = question;
	}

	public String getAnswer() {
		return this.answer;
	}

	public void setAnswer(String answer) {
		this.answer = answer;
	}

	public String getIp() {
		return this.ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public Integer getEnterNum() {
		return this.enterNum;
	}

	public void setEnterNum(Integer enterNum) {
		this.enterNum = enterNum;
	}

	public Date getEnterDate() {
		return this.enterDate;
	}

	public void setEnterDate(Date enterDate) {
		this.enterDate = enterDate;
	}

	public String getAdminSup() {
		return this.adminSup;
	}

	public void setAdminSup(String adminSup) {
		this.adminSup = adminSup;
	}


	public String getIsAss() {
		return isAss;
	}

	public void setIsAss(String isAss) {
		this.isAss = isAss;
	}

	public String getSeeprice() {
		return seeprice;
	}

	public void setSeeprice(String seeprice) {
		this.seeprice = seeprice;
	}

	public String getSeemage() {
		return seemage;
	}

	public void setSeemage(String seemage) {
		this.seemage = seemage;
	}

	public String getSeecandi() {
		return seecandi;
	}

	public void setSeecandi(String seecandi) {
		this.seecandi = seecandi;
	}

	public Role getRole() {
		return role;
	}

	public void setRole(Role role) {
		this.role = role;
	}

	public Set getNews() {
		return news;
	}

	public void setNews(Set news) {
		this.news = news;
	}

	public Set getVods() {
		return vods;
	}

	public void setVods(Set vods) {
		this.vods = vods;
	}

	public String getUnit() {
		return unit;
	}

	public void setUnit(String unit) {
		this.unit = unit;
	}

}